package com.jinzheng.nettytestss.commont.kafkaconfig;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * kafka集群配置
 * */
@Component
@Data
@ConfigurationProperties(prefix = "spring.kafka")
public class KafkaBaseProp {
    /**
     *服务器集群地址，逗号隔开
     * */
    private String bootstrapServers;

}
